package com.example.demo.service.impl;

import com.example.demo.service.DemoRpcApi;
import com.example.demo.service.TestService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @author FKJGFK
 * @version 1.0.0
 * @ClassName TestServiceImpl.java
 * @Description 业务服务类
 * @createTime 2021/04/08 13:29:14
 */
@Service
public class TestServiceImpl implements TestService {

	@DubboReference(version = "${service.api.version}")
	private DemoRpcApi demoRpcApi;

	@Override
	public String getSayHello() {
		return demoRpcApi.sayHello();
	}

}
